<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>JavaScript BigInt</title>
</head>
<body>
<h1>Number 对象属性</h1>

<p>MAX_SAFE_INTEGER</p>

<p id="demo"></p>

<script>
  let  x = Number.MAX_SAFE_INTEGER;
  document.getElementById("demo").innerHTML = x;
</script>
<!--结果：9007199254740991-->
</body>
</html>

<!--
let  x = Number.MIN_SAFE_INTEGER;
-9007199254740991
-->